Package jeresources.api.conditionals
Interface ICustomLootFunction
public interface ICustomLootFunction
Should be implemented on a
when a table has use that
LootItemFunction
you'll be granted access to the LootDrop
It is advised to add Conditionals,
but you can also change stack sizes or other data.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
-
Method Details
-
apply
Similar toBiFunction.apply(T, U)but without all theRandomandLootContextYou only need to implement this if the the
BiFunction.apply(T, U)can't be called with null random and context or if you want to do a more advanced interaction with theLootDrop- Parameters:
drop- theLootDropto apply theLootItemFunctionon
-